package com.zy.sky.cloud.gateway;

import com.zy.sky.cloud.common.gateway.annotation.EnableSkyDynamicRoute;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.gateway.route.RouteLocator;
import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder;
import org.springframework.context.annotation.Bean;

@SpringCloudApplication
@EnableSkyDynamicRoute
public class SkyGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(SkyGatewayApplication.class, args);
    }

}

